Skip to content

fix(web): work log Show more — cursor, transition & scroll#1569

Open
Marve10s wants to merge 4 commits intopingdotgg:mainfrom
Marve10s:fix/show-more-cursor-and-transition
Open

fix(web): work log Show more — cursor, transition & scroll#1569
Marve10s wants to merge 4 commits intopingdotgg:mainfrom
Marve10s:fix/show-more-cursor-and-transition

Conversation

@Marve10s
Copy link
Copy Markdown
Contributor

@Marve10s Marve10s commented Mar 30, 2026

Summary

  • Cursor pointer: The "Show more" button in work log / tool call groups was missing cursor-pointer, showing a default arrow on hover instead of a hand. Fixed by switching to the existing CollapsibleTrigger component which includes it.
  • Smooth transition: Replaced the instant show/hide with the existing Base UI Collapsible + CollapsiblePanel component, giving a smooth 200ms height animation when expanding/collapsing overflow entries.
  • No auto-scroll on expand: Expanding a work log group during a running session would yank the viewport to the bottom via scheduleStickToBottom. Now disables auto-scroll on toggle so the user stays where they clicked; the scroll-to-bottom button appears if they want to jump back.

Note

Low Risk
Low risk UI/UX change limited to work-log expand/collapse behavior and chat auto-scroll flags; main risk is subtle scroll state regressions during active sessions.

Overview
Work log/tool-call groups now expand/collapse via Collapsible instead of a custom button, giving consistent pointer cursor styling and a smooth height transition.

Toggling a group now keeps overflow entries mounted (keepMounted) and changes the visible/hidden slicing so the newest work entries remain visible while older entries live in the collapsible panel.

Auto-scroll is suppressed when expanding/collapsing a group: ChatView cancels any pending stick-to-bottom scroll, disables auto-scroll, and forces the scroll-to-bottom pill to appear so the viewport doesn’t jump.

Written by Cursor Bugbot for commit 66cb7cf. This will update automatically on new commits. Configure here.

Note

Fix work log 'Show more' cursor, transition, and scroll behavior

  • Replaces the inline toggle button in MessagesTimeline.tsx with Collapsible/CollapsibleTrigger components, showing 'Show N more' or 'Show less' based on overflow count.
  • Overflow entries are now kept mounted in the DOM when collapsed (keepMounted) instead of being unmounted, fixing transition behavior.
  • Toggling a work group in ChatView.tsx now cancels any pending stick-to-bottom scroll, disables auto-scrolling, and forces the scroll-to-bottom button to appear.

Macroscope summarized 66cb7cf.

The raw <button> element was missing cursor-pointer, causing the
default arrow cursor on hover instead of the expected hand pointer.
Use the existing Base UI Collapsible component to animate the overflow
entries in tool call / work log groups with a 200ms height transition
instead of an instant show/hide.
@github-actions github-actions bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 30, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 30, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 71e85baf-b20e-4cb7-95df-e1e6d555b240

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Marve10s Marve10s force-pushed the fix/show-more-cursor-and-transition branch from 59c3df1 to 8e290fc Compare March 30, 2026 09:13
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Expanding a work log group during a running session would trigger
scheduleStickToBottom via the timelineEntries effect, yanking the
viewport to the bottom. Disable auto-scroll on toggle so the user
stays where they clicked; the scroll-to-bottom button is shown if
they want to jump back.
@Marve10s Marve10s force-pushed the fix/show-more-cursor-and-transition branch from 954a90d to 8caccfb Compare March 30, 2026 09:29
@Marve10s
Copy link
Copy Markdown
Contributor Author

2026-03-30.12.07.23.mp4

Sorry, took a second for Codex and I also needed to approve access to folders for Claude :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant